home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / C / ASAP / intuitext.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-09-01  |  1.1 KB  |  31 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * AIntuiText wrapper class                                                  *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_AIntuiText_H
  12. #define ASAP_AIntuiText_H
  13.  
  14. extern "C"
  15. {
  16.  #include <Proto/Intuition.h>
  17. }
  18.  
  19. class AIntuiText : public IntuiText
  20. {
  21.  public:
  22.  inline LONG IntuiTextLength();
  23. };
  24. //----------------------------------------------------------------------------
  25. LONG AIntuiText::IntuiTextLength ()
  26. {
  27.  return ::IntuiTextLength(this);
  28. }
  29.  
  30. #endif
  31.